/**
 * @file lora_port_tim.h
 * @brief 硬件定时器 TIM 封装API
 * @author wangh (wanghuan3037@fiberhome.com)
 * @version 1.0
 * @date 2020-06-05
 * @copyright Copyright (c) 2020  烽火通信
 ***************************************************************
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version  <th>Author  <th>Description
 * <tr><td>2020-10-23 <td>1.0      <td>wangh   <td>内容
 * </table>
 */
#include <stdint.h>

void TimerHwInit( void );


void TimerHwDeInit( void );


uint32_t TimerHwGetMinimumTimeout( void );


void TimerHwStart( uint32_t rtcCounter );


void TimerHwDelayMs( uint32_t delay );


void TimerHwStop( void );


uint32_t TimerHwGetTimerValue( void );


uint32_t TimerHwGetTime( void );


uint32_t TimerHwGetElapsedTime( void );

uint32_t TimerHwComputeElapsedTime( uint32_t savedTime );


void TimerHwEnterLowPowerStopMode( void );




/*********** (C) COPYRIGHT 2020 FiberHome *****END OF FILE****/
